//
//  SearchResultsViewController.h
//  BVCMS Search
//
//  Created by Allen Thomas on 9/13/10.
//

#import <UIKit/UIKit.h>
#import "SearchResultDetailViewController.h"
#import "PersonDetailsConnection.h"
#import "PersonDetails.h"
#define kTableViewRowHeight	71

@interface SearchResultsViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, PersonDetailsConnectionDelegate> {
	NSArray *resultsData;
	int numberOfResults;
	
	PersonDetailsConnection *connection;
	
	UIView *loadingView;
}

@property (nonatomic, retain) NSArray *resultsData;
@property (nonatomic) int numberOfResults;

- (void)personDetailsCallback:(PersonDetails *)personDetails;
- (void)personDetailsFailed:(NSError *)error;

@end
